package cn.sumpu.app.coolsk.biz;

import java.util.List;

import cn.sumpu.app.coolsk.domain.Ticket;
import cn.sumpu.app.coolsk.domain.TicketPrice;
import cn.sumpu.app.coolsk.exception.AppBusinessException;
import cn.sumpu.toolkit.common.page.PageModel;


public interface TicketBiz {
	public PageModel getScenicTicket(Integer page,Integer pagesize,String name,String scId) throws AppBusinessException;
	
	public Ticket saveTicket(Ticket ticket)throws AppBusinessException; 
	
	public Ticket updateTicket(Ticket ticket)throws AppBusinessException; 
	
	public Ticket getTicketById(String id)throws AppBusinessException;
	
	public Ticket delTicket(String id)throws AppBusinessException;
	
	public List<TicketPrice> getTicketPrice(String ticketId)throws AppBusinessException;
	
	public void saveTicketPrice(String ticketId,String tpList)throws AppBusinessException;
	
	public TicketPrice getTodayPrice(Ticket ticket)throws AppBusinessException;
	
	public List<TicketPrice> resPriceList(Ticket ticket)throws AppBusinessException;
	
	public TicketPrice getDayPrice(Ticket ticket,String date) throws AppBusinessException;
	
	public List<Ticket> getTicketByCompany(String company)throws AppBusinessException;
}
